﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" 
Inherits="Nivdal.PasswordChange" Title=""  StylesheetTheme="SkinFile" Codebehind="PasswordChange.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="basic_element">
    <div class="red_title">
       <asp:Label ID="PageTitleLabel" runat="server" Text="Change password" CssClass="white_title"></asp:Label>
    </div>
    <div class="padding5">
        <asp:LoginView ID="LoginView1" runat="server">
            <LoggedInTemplate>
                <asp:ChangePassword ID="ChangePassword1" runat="server" ChangePasswordButtonStyle-CssClass="GreenSmallButtonStyle"
                ChangePasswordButtonText="<%$ Resources:Resource, Global_Change %>" 
                CancelButtonStyle-CssClass="GreySmallButtonStyle"
                LabelStyle-Font-Names="Arial" LabelStyle-Font-Size="Small" LabelStyle-Font-Bold="true" TitleTextStyle-Font-Bold="true"
                TitleTextStyle-Font-Names="Arial" TitleTextStyle-Font-Size="Small"
                CancelDestinationPageUrl="Default.aspx" ContinueDestinationPageUrl="Default.aspx" MailDefinition-BodyFileName="PasswordChangeMail.txt" 
                MailDefinition-From="admin@nivdal.com" OnSendingMail="SendingEmail"
                MailDefinition-Subject="<%$ Resources:Resource, PasswordChange_MailDefinitionSubject %>" 
                CancelButtonText="<%$ Resources:Resource, Global_Cancel %>" 
                ConfirmPasswordCompareErrorMessage="<%$ Resources:Resource, PasswordChange_ConfirmPasswordCompareErrorMessage %>" 
                ConfirmPasswordRequiredErrorMessage="<%$ Resources:Resource, PasswordChange_ConfrmPasswordRequiredErrorMessage %>" 
                NewPasswordRegularExpressionErrorMessage="<%$ Resources:Resource, PasswordChange_NewPasswordRequiredErrorMessage %>" 
                NewPasswordRequiredErrorMessage="<%$ Resources:Resource, PasswordChange_NewPasswordRequiredErrorMessage %>" 
                PasswordRequiredErrorMessage="<%$ Resources:Resource, PasswordChange_PasswordRequiredErrorMessage %>" 
                UserNameRequiredErrorMessage="<%$ Resources:Resource, PasswordChange_UserNameRequiredMessage %>" 
                UserNameLabelText="<%$ Resources:Resource, Register_UserNameLabel %>"  
                ConfirmNewPasswordLabelText="<%$ Resources:Resource, PasswordChange_ConfirmNewPasswordText %>" 
                ChangePasswordTitleText="<%$ Resources:Resource, PasswordChange_ChangeYourPasswordText %>" 
                SuccessTitleText="<%$ Resources:Resource, PasswordChange_ChangeSuccessfulText %>" 
                NewPasswordLabelText="<%$ Resources:Resource, PasswordChange_NewPasswordLabelText %>" 
                LabelStyle-Font-Underline="True" ContinueButtonText="<%$ Resources:Resource, Register_ContinueButton %>" 
                ChangePasswordFailureText="<%$ Resources:Resource, PasswordChange_ChangePasswordFailureText %>" 
                PasswordLabelText="<%$ Resources:Resource, Default_PasswordText %>">
                </asp:ChangePassword> 
            </LoggedInTemplate>
        </asp:LoginView>
    </div>
    </div>
</asp:Content>

<asp:Content ID="PageNameContent" ContentPlaceHolderID="PageNamePlaceHolder" runat="server">
    <h1><asp:Label ID="PageNameLabel" runat="server" Text="Change password" CssClass="PageNameContentStyle"></asp:Label></h1>
</asp:Content>

